[INFO] fetching crate merkle-heapless 0.0.7...
[INFO] testing merkle-heapless-0.0.7 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate merkle-heapless 0.0.7 into /workspace/builds/worker-0-tc2/source
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate merkle-heapless 0.0.7
[INFO] finished tweaking crates.io crate merkle-heapless 0.0.7
[INFO] tweaked toml for crates.io crate merkle-heapless 0.0.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate merkle-heapless 0.0.7 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f2e09828a3dbb993f3bbe5a8091fcce5b9276350df4775fa487a4fe090430f6
[INFO] running `Command { std: "docker" "start" "-a" "9f2e09828a3dbb993f3bbe5a8091fcce5b9276350df4775fa487a4fe090430f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f2e09828a3dbb993f3bbe5a8091fcce5b9276350df4775fa487a4fe090430f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f2e09828a3dbb993f3bbe5a8091fcce5b9276350df4775fa487a4fe090430f6", kill_on_drop: false }`
[INFO] [stdout] 9f2e09828a3dbb993f3bbe5a8091fcce5b9276350df4775fa487a4fe090430f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ac9315da894a895ed5d2fdfcd4103780e116ecee0fcd95b407217032de4535c
[INFO] running `Command { std: "docker" "start" "-a" "2ac9315da894a895ed5d2fdfcd4103780e116ecee0fcd95b407217032de4535c", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling mmr-macro v0.0.7
[INFO] [stderr]    Compiling merkle-heapless v0.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/compactable.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout]     |                                   ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.95s
[INFO] running `Command { std: "docker" "inspect" "2ac9315da894a895ed5d2fdfcd4103780e116ecee0fcd95b407217032de4535c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ac9315da894a895ed5d2fdfcd4103780e116ecee0fcd95b407217032de4535c", kill_on_drop: false }`
[INFO] [stdout] 2ac9315da894a895ed5d2fdfcd4103780e116ecee0fcd95b407217032de4535c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3df597e5d0238898e0d2742225567d8b066788fe41f4e72199991a41bebfcecd
[INFO] running `Command { std: "docker" "start" "-a" "3df597e5d0238898e0d2742225567d8b066788fe41f4e72199991a41bebfcecd", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/compactable.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout]     |                                   ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling merkle-heapless v0.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/compactable.rs:104:35
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout]     |                                   ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stdout] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] running `Command { std: "docker" "inspect" "3df597e5d0238898e0d2742225567d8b066788fe41f4e72199991a41bebfcecd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3df597e5d0238898e0d2742225567d8b066788fe41f4e72199991a41bebfcecd", kill_on_drop: false }`
[INFO] [stdout] 3df597e5d0238898e0d2742225567d8b066788fe41f4e72199991a41bebfcecd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9e0cd015f27d6f0b1f3f3ab91f33bc324b3c9b4b01c58b07a5d82a7e008efb53
[INFO] running `Command { std: "docker" "start" "-a" "9e0cd015f27d6f0b1f3f3ab91f33bc324b3c9b4b01c58b07a5d82a7e008efb53", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/compactable.rs:104:35
[INFO] [stderr]     |
[INFO] [stderr] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stderr]     |                                   ^                  ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stderr] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stderr]     |
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] running 0 tests
[INFO] [stderr] warning: `merkle-heapless` (lib) generated 1 warning (run `cargo fix --lib -p merkle-heapless` to apply 1 suggestion)
[INFO] [stdout] 
[INFO] [stderr] warning: `merkle-heapless` (lib test) generated 1 warning (1 duplicate)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/merkle_heapless-c65b015802e296f9)
[INFO] [stderr]    Doc-tests merkle_heapless
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/compactable.rs:104:35
[INFO] [stderr]     |
[INFO] [stderr] 104 |                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stderr]     |                                   ^                  ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 104 -                 .filter(|&(_, h)| (h != &default_hash))
[INFO] [stderr] 104 +                 .filter(|&(_, h)| h != &default_hash)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - (line 95) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 80) ... FAILED
[INFO] [stdout] test src/lib.rs - compactable (line 148) ... FAILED
[INFO] [stdout] test src/lib.rs - augmentable (line 146) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 128) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 63) ... FAILED
[INFO] [stdout] test src/lib.rs - augmentable (line 166) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 109) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 95) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `MAX_HEIGHT` in this scope
[INFO] [stdout]    --> src/lib.rs:101:36
[INFO] [stdout]     |
[INFO] [stdout] 101 | let mut tree = StaticTree::<ARITY, MAX_HEIGHT, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]     |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  96 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_95_0<MAX_HEIGHT>() {
[INFO] [stdout]     |                                                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `YourHash` in this scope
[INFO] [stdout]    --> src/lib.rs:101:48
[INFO] [stdout]     |
[INFO] [stdout] 101 | let mut tree = StaticTree::<ARITY, MAX_HEIGHT, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]     |                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  96 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_95_0<YourHash>() {
[INFO] [stdout]     |                                                                      ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected
[INFO] [stdout]    --> src/lib.rs:101:36
[INFO] [stdout]     |
[INFO] [stdout] 101 | let mut tree = StaticTree::<ARITY, MAX_HEIGHT, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]     |                                    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces
[INFO] [stdout]     |
[INFO] [stdout] 101 | let mut tree = StaticTree::<ARITY, { MAX_HEIGHT }, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]     |                                    +            +
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |     &[b"apple", b"banana"]
[INFO] [stdout]     |                 ^^^^^^^^^ expected an array with a size of 5, found one with a size of 6
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0747.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 80) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:83:1
[INFO] [stdout]    |
[INFO] [stdout] 83 | tree.replace(5, b"cherry");
[INFO] [stdout]    | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 | let proof = tree.generate_proof(5);
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout] 87 | tree.replace(1, &[]);
[INFO] [stdout]    | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 | let proof = tree.generate_proof(1);
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tree` in this scope
[INFO] [stdout]   --> src/lib.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 | let proof = tree.generate_proof(1);
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - compactable (line 148) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `StdHash` in this scope
[INFO] [stdout]    --> src/lib.rs:155:51
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mut cmt = DefaultCompactable::<ARITY, HEIGHT, StdHash>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_148_0<StdHash>() {
[INFO] [stdout]     |                                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: type alias takes 4 generic arguments but 3 generic arguments were supplied
[INFO] [stdout]    --> src/lib.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mut cmt = DefaultCompactable::<ARITY, HEIGHT, StdHash>::try_from::<&[u8]>(&[
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^   -----  ------  ------- supplied 3 generic arguments
[INFO] [stdout]     |               |
[INFO] [stdout]     |               expected 4 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] note: type alias defined here, with 4 generic parameters: `ARITY`, `HEIGHT`, `H`, `MAX_INPUT_LEN`
[INFO] [stdout]    --> src/compactable.rs:19:10
[INFO] [stdout]     |
[INFO] [stdout]  19 | pub type DefaultCompactable<
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  20 |     const ARITY: usize,
[INFO] [stdout]     |     ------------------
[INFO] [stdout]  21 |     const HEIGHT: usize,
[INFO] [stdout]     |     -------------------
[INFO] [stdout]  22 |     H,
[INFO] [stdout]     |     -
[INFO] [stdout]  23 |     const MAX_INPUT_LEN: usize,
[INFO] [stdout]     |     --------------------------
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mut cmt = DefaultCompactable::<ARITY, HEIGHT, StdHash, MAX_INPUT_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                                          +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - augmentable (line 146) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `HEIGHT` in this scope
[INFO] [stdout]    --> src/lib.rs:155:39
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mt1 = DefaultAugmentable::<ARITY, HEIGHT, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                       ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0<HEIGHT>() {
[INFO] [stdout]     |                                                                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StdHash` in this scope
[INFO] [stdout]    --> src/lib.rs:155:47
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mt1 = DefaultAugmentable::<ARITY, HEIGHT, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 147 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0<StdHash>() {
[INFO] [stdout]     |                                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected
[INFO] [stdout]    --> src/lib.rs:155:39
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mt1 = DefaultAugmentable::<ARITY, HEIGHT, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                       ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces
[INFO] [stdout]     |
[INFO] [stdout] 155 | let mt1 = DefaultAugmentable::<ARITY, { HEIGHT }, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                       +        +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0747.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `[u8; 32]: From<u8>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     type Output = [u8; 32];
[INFO] [stdout]    |                   ^^^^^^^^ the trait `From<u8>` is not implemented for `[u8; 32]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `[T; 1]` implements `From<(T,)>`
[INFO] [stdout]              `[T; 2]` implements `From<(T, T)>`
[INFO] [stdout]              `[T; 3]` implements `From<(T, T, T)>`
[INFO] [stdout]              `[T; 4]` implements `From<(T, T, T, T)>`
[INFO] [stdout]              `[T; 5]` implements `From<(T, T, T, T, T)>`
[INFO] [stdout]              `[T; 6]` implements `From<(T, T, T, T, T, T)>`
[INFO] [stdout]              `[T; 7]` implements `From<(T, T, T, T, T, T, T)>`
[INFO] [stdout]              `[T; 8]` implements `From<(T, T, T, T, T, T, T, T)>`
[INFO] [stdout]            and 7 others
[INFO] [stdout] note: required by a bound in `merkle_heapless::traits::HashT::Output`
[INFO] [stdout]   --> src/traits.rs:15:63
[INFO] [stdout]    |
[INFO] [stdout] 15 |     type Output: Hash + Default + Copy + PartialEq + Debug  + From<u8>;
[INFO] [stdout]    |                                                               ^^^^^^^^ required by this bound in `HashT::Output`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[u8; 8]: From<u8>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 |     type Output = [u8; 8];
[INFO] [stdout]    |                   ^^^^^^^ the trait `From<u8>` is not implemented for `[u8; 8]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `[T; 1]` implements `From<(T,)>`
[INFO] [stdout]              `[T; 2]` implements `From<(T, T)>`
[INFO] [stdout]              `[T; 3]` implements `From<(T, T, T)>`
[INFO] [stdout]              `[T; 4]` implements `From<(T, T, T, T)>`
[INFO] [stdout]              `[T; 5]` implements `From<(T, T, T, T, T)>`
[INFO] [stdout]              `[T; 6]` implements `From<(T, T, T, T, T, T)>`
[INFO] [stdout]              `[T; 7]` implements `From<(T, T, T, T, T, T, T)>`
[INFO] [stdout]              `[T; 8]` implements `From<(T, T, T, T, T, T, T, T)>`
[INFO] [stdout]            and 7 others
[INFO] [stdout] note: required by a bound in `merkle_heapless::traits::HashT::Output`
[INFO] [stdout]   --> src/traits.rs:15:63
[INFO] [stdout]    |
[INFO] [stdout] 15 |     type Output: Hash + Default + Copy + PartialEq + Debug  + From<u8>;
[INFO] [stdout]    |                                                               ^^^^^^^^ required by this bound in `HashT::Output`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `sp_core` in this scope
[INFO] [stdout]   --> src/lib.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         sp_core::blake2_256(input)
[INFO] [stdout]    |         ^^^^^^^ use of unresolved module or unlinked crate `sp_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 128) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:129:1
[INFO] [stdout]     |
[INFO] [stdout] 129 | mmr.try_append(b"apple").unwrap();
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 131 | assert_eq!(mmr.peaks()[0].height(), 0);
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | assert_eq!(mmr.peaks()[0].num_of_leaves(), 1);
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | assert_eq!(mmr.peaks()[1].num_of_leaves(), 0);
[INFO] [stdout]     |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mmr` in this scope
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 | let proof = mmr.generate_proof(0);
[INFO] [stdout]     |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 63) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `YourHash` in this scope
[INFO] [stdout]   --> src/lib.rs:72:47
[INFO] [stdout]    |
[INFO] [stdout] 72 | let mut tree = StaticBinaryTree::<MAX_HEIGHT, YourHash, MAX_INPUT_WORD_LEN>::try_from::<&[u8]>(
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_63_0<YourHash>() {
[INFO] [stdout]    |                                                                      ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 |     &[b"apple", b"banana"]
[INFO] [stdout]    |                 ^^^^^^^^^ expected an array with a size of 5, found one with a size of 6
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - augmentable (line 166) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `DefaultAugmentable` in this scope
[INFO] [stdout]    --> src/lib.rs:168:11
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^ use of undeclared type `DefaultAugmentable`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 166 + use merkle_heapless::augmentable::DefaultAugmentable;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ARITY` in this scope
[INFO] [stdout]    --> src/lib.rs:168:32
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<ARITY>() {
[INFO] [stdout]     |                                                                       +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HEIGHT_2` in this scope
[INFO] [stdout]    --> src/lib.rs:168:39
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<HEIGHT_2>() {
[INFO] [stdout]     |                                                                       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StdHash` in this scope
[INFO] [stdout]    --> src/lib.rs:168:49
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<StdHash>() {
[INFO] [stdout]     |                                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MAX_WORD_LEN` in this scope
[INFO] [stdout]    --> src/lib.rs:168:58
[INFO] [stdout]     |
[INFO] [stdout] 168 | let mt2 = DefaultAugmentable::<ARITY, HEIGHT_2, StdHash, MAX_WORD_LEN>::try_from::<&[u8]>(&[
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_166_0<MAX_WORD_LEN>() {
[INFO] [stdout]     |                                                                       ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mt` in this scope
[INFO] [stdout]    --> src/lib.rs:172:1
[INFO] [stdout]     |
[INFO] [stdout] 172 | mt.try_merge(mt2).unwrap();
[INFO] [stdout]     | ^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 172 | mt2.try_merge(mt2).unwrap();
[INFO] [stdout]     |   +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 109) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `merkle_heapless::mmr_macro`
[INFO] [stdout]    --> src/lib.rs:116:23
[INFO] [stdout]     |
[INFO] [stdout] 116 | use merkle_heapless::{mmr_macro};
[INFO] [stdout]     |                       ^^^^^^^^^ no `mmr_macro` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 157 | #[cfg(feature = "mmr_macro")]
[INFO] [stdout]     |       --------------------- the item is gated behind the `mmr_macro` feature
[INFO] [stdout] 158 | pub use mmr_macro;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super`
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | mmr_macro::mmr!(Type = FooMMR, BranchFactor = 2, Peaks = 3, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdHash` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `mmr_macro::mmr` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super`
[INFO] [stdout]    --> src/lib.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | mmr_macro::mmr!(BranchFactor = 2, Peaks = 5, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdHash` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `mmr_macro::mmr` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `height` found for enum `MerkleMountainRangePeak` in the current scope
[INFO] [stdout]    --> src/lib.rs:126:27
[INFO] [stdout]     |
[INFO] [stdout] 121 | mmr_macro::mmr!(BranchFactor = 2, Peaks = 5, Hash = StdHash, MaxInputWordLength = 10);
[INFO] [stdout]     | ------------------------------------------------------------------------------------- method `height` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 126 | assert_eq!(mmr.peaks()[0].height(), 5 - 3);
[INFO] [stdout]     |                           ^^^^^^ method not found in `MerkleMountainRangePeak`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/traits.rs:73:8
[INFO] [stdout]     |
[INFO] [stdout]  73 |     fn height(&self) -> usize;
[INFO] [stdout]     |        ------ the method is available for `MerkleMountainRangePeak` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `StaticTreeTrait` which provides `height` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 113 + use crate::merkle_heapless::traits::StaticTreeTrait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 109)
[INFO] [stdout]     src/lib.rs - (line 128)
[INFO] [stdout]     src/lib.rs - (line 31)
[INFO] [stdout]     src/lib.rs - (line 63)
[INFO] [stdout]     src/lib.rs - (line 80)
[INFO] [stdout]     src/lib.rs - (line 95)
[INFO] [stdout]     src/lib.rs - augmentable (line 146)
[INFO] [stdout]     src/lib.rs - augmentable (line 166)
[INFO] [stdout]     src/lib.rs - compactable (line 148)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9e0cd015f27d6f0b1f3f3ab91f33bc324b3c9b4b01c58b07a5d82a7e008efb53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e0cd015f27d6f0b1f3f3ab91f33bc324b3c9b4b01c58b07a5d82a7e008efb53", kill_on_drop: false }`
[INFO] [stdout] 9e0cd015f27d6f0b1f3f3ab91f33bc324b3c9b4b01c58b07a5d82a7e008efb53
